<%@ page contentType="text/html; charset=utf-8" language="java"    pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>欢迎光临北京清真俄丽娅西点</title>
		<meta name="Generator" content="俄丽娅" />
		<meta name="Keywords" content="俄丽娅,蛋糕,五环内免费送货,北京俄丽娅,北京清真生日蛋糕" /> 
		<meta name="Description" content="北京俄丽娅清真西点_拥有清真乳酪蛋糕、慕斯蛋糕、巧克力蛋糕、乳脂奶油蛋糕和冰淇淋蛋糕五个系列30款主题蛋糕。" />
		
        <link rel="icon" type="image/gif" href="images/icon.gif" />
        <link rel="stylesheet" type="text/css" href="style/global.css" media="all" />
		<link rel="stylesheet" type="text/css" href="style/common.css" media="all" />
		<link rel="stylesheet" type="text/css" href="style/detail.css" media="all" />
		<link rel="stylesheet" type="text/css" href="style/style.css" />
		<link rel="stylesheet" type="text/css" href="style/thickbox.css" media="screen" />
		<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="js/thickbox.js"></script>
		<script type="text/javascript">
				function commentContent(){
					var name=jQuery("input[name='name']").val();
					var province=jQuery("input[name='province']").val();
					var age=jQuery("input[name='age']").val();
					var card=jQuery("input[name='card']").val();
					var sex=jQuery("input[name='sex']").val();
					var cardAddress=jQuery("input[name='cardAddress']").val();
					var zipCode=jQuery("input[name='zipCode']").val();
					var realAddress=jQuery("input[name='realAddress']").val();
					var studyLevel=jQuery("input[name='studyLevel']").val();
					var school=jQuery("input[name='school']").val();
					var mobel=jQuery("input[name='mobel']").val();
					var joinAddress=jQuery("input[name='joinAddress']").val();
					var tel=jQuery("input[name='tel']").val();
					var email=jQuery("input[name='email']").val();
					var fax=jQuery("input[name='fax']").val();
					var qq=jQuery("input[name='qq']").val();
					var area=jQuery("input[name='area']:checked").val();
					var goMoney=jQuery("input[name='goMoney']:checked").val();
					var moneyFrom=jQuery("textarea[name='moneyFrom']").val();
					var areaDes=jQuery("textarea[name='areaDes']").val();
					var beforeWork=jQuery("textarea[name='beforeWork']").val();
					var familyDes=jQuery("textarea[name='familyDes']").val();
					var willDo=jQuery("textarea[name='willDo']").val();
					var thinkAboutUs=jQuery("textarea[name='thinkAboutUs']").val();
					if(jQuery.trim(name)==''||jQuery.trim(province)==''||jQuery.trim(age)==''||jQuery.trim(card)==''||jQuery.trim(sex)==''||jQuery.trim(cardAddress)==''||jQuery.trim(zipCode)==''||jQuery.trim(realAddress)==''||jQuery.trim(studyLevel)==''||jQuery.trim(school)==''||jQuery.trim(mobel)==''||jQuery.trim(joinAddress)==''||jQuery.trim(tel)==''||jQuery.trim(email)==''||jQuery.trim(fax)==''||jQuery.trim(qq)==''||jQuery.trim(area)==''||jQuery.trim(goMoney)==''||jQuery.trim(moneyFrom)==''||jQuery.trim(areaDes)==''||jQuery.trim(beforeWork)==''||jQuery.trim(familyDes)==''||jQuery.trim(willDo)==''||jQuery.trim(thinkAboutUs)==''){
						alert("一定要填写必填项");
					}else{
						jQuery.post("addJoinUs",{name:name,province:province,age:age,card:card,sex:sex,cardAddress:cardAddress,zipCode:zipCode,realAddress:realAddress,studyLevel:studyLevel,school:school,mobel:mobel,joinAddress:joinAddress,tel:tel,email:email,fax:fax,qq:qq,area:area,goMoney:goMoney,moneyFrom:moneyFrom,areaDes:areaDes,beforeWork:beforeWork,familyDes:familyDes,willDo:willDo,thinkAboutUs:thinkAboutUs,r:Math.random()},function(json){
							if(json.success==1){
								 alert('添加成功，我们会及时反馈您提供的信息');
								 location.href="index.html";
							}else{
								 alert('操作频繁，请稍后重试');
							}
						},"json");
					}
				}
		</script>
    </head>
    <body>
        <div class="container">
			<jsp:include page="header.jsp" />
			<div class="main">
				<div class="onlyline ml10 mr10"></div>
				 
				<div class="section">
					<div class="feedback">
					
						<h4 class="infoTit">申请加盟*：</h4>
							<table class="commentTable">
								<tr>
									<td width="100">姓名*：</td>
									<td width="300"><input type="text" name="name" id="inputTitle" /></td>
									<td width="100">所在省市*：</td>
									<td width="300"><input type="text" name="province" id="inputTitle" /></td>
								</tr>
								<tr>
									<td>年龄*：</td>
									<td><input type="text" name="age" id="inputTitle" /></td>
									<td>身份证号码*：</td>
									<td><input type="text" name="card" id="inputTitle" /></td>
								</tr>
								<tr>
									<td>性别*：</td>
									<td><input type="text" name="sex" id="inputTitle" /></td>
									<td>身份证地址*：</td>
									<td><input type="text" name="cardAddress" id="inputTitle" /></td>
								</tr>
								<tr>
									<td>邮政编码*：</td>
									<td><input type="text" name="zipCode" id="inputTitle" /></td>
									<td>实际住址*：</td>
									<td><input type="text" name="realAddress" id="inputTitle" /></td>
								</tr>
								<tr>
									<td>文化程度*：</td>
									<td><input type="text" name="studyLevel" id="inputTitle" /></td>
									<td>毕业院校*：</td>
									<td><input type="text" name="school" id="inputTitle" /></td>
								</tr>
								<tr>
									<td>移动电话*：</td>
									<td><input type="text" name="mobel" id="inputTitle" /></td>
									<td>申请地区*：</td>
									<td><input type="text" name="joinAddress" id="inputTitle" /></td>
								</tr>
								<tr>
									<td>家庭电话*：</td>
									<td><input type="text" name="tel" id="inputTitle" /></td>
									<td>E-mail*：</td>
									<td><input type="text" name="email" id="inputTitle" /></td>
								</tr>
								<tr>
									<td>传真*：</td>
									<td><input type="text" name="fax" id="inputTitle" /></td>
									<td>QQ号码*：</td>
									<td><input type="text" name="qq" id="inputTitle" /></td>
								</tr>
								<tr>
									<td colspan="4">您打算申请开设店面面积为*：</td>
								</tr>
								<tr>
									<td colspan="4">
									&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="area" value="60平方米"/> 60平方米
									&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="area" value="60-80平方米"/> 60-80平方米
									&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="area" value="80-100平方米"/> 80-100平方米
									&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="area" value="100平方米以上"/> 100平方米以上
									</td>
								</tr>
								<tr>
									<td colspan="4">您自有资金数额为*：</td>
								</tr>
								<tr>
									<td colspan="4">
									&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="goMoney" value="15-20万元"/> 15-20万元
									&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="goMoney" value="20—50万元"/> 20—50万元
									&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="goMoney" value="50-100万元"/> 50-100万元
									&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="goMoney" value="100万元以上 "/> 100万元以上 
									</td>
								</tr>
								<tr>
									<td colspan="4">请填写您的资金来源或筹集的来源*：</td>
								</tr>
								<tr>
									<td colspan="4"><textarea rows="3" cols="20" id="commentContent" name="moneyFrom"></textarea></td>
								</tr>
								<tr>
									<td colspan="4">请填写您所申请地区的区域性质、客流量、客流成分、消费层次之具体描述*：</td>
								</tr>
								<tr>
									<td colspan="4"><textarea rows="3" cols="20" id="commentContent" name="areaDes"></textarea></td>
								</tr>
								<tr>
									<td colspan="4">请填写您以前的工作经历以及工作心得*：</td>
								</tr>
								<tr>
									<td colspan="4"><textarea rows="3" cols="20" id="commentContent" name="beforeWork"></textarea></td>
								</tr>
								<tr>
									<td colspan="4">请填写您的家庭成员以及他们的职业、职位及经济状况之详细描述*：</td>
								</tr>
								<tr>
									<td colspan="4"><textarea rows="3" cols="20" id="commentContent" name="familyDes"></textarea></td>
								</tr>
								<tr>
									<td colspan="4">请填写您对即将开设的加盟店的经营工作有怎样的打算*：</td>
								</tr>
								<tr>
									<td colspan="4"><textarea rows="3" cols="20" id="commentContent" name="willDo"></textarea></td>
								</tr>
								<tr>
									<td colspan="4">申请人对所加盟俄丽娅有怎样的认识和评价*：</td>
								</tr>
								<tr>
									<td colspan="4"><textarea rows="3" cols="20" id="commentContent" name="thinkAboutUs"></textarea></td>
								</tr>
								<!-- 
									<tr>
										<td>验证码*：</td>
										<td class="checkBox"><input type="text" name="" id="checkCode" /><span><img src="images/banner.jpg" alt="" width="78" height="20"/></span><a href="#">看不清？更换一张</a></td>
									</tr>
								 -->
								<tr>
									<td></td>
									<td class="subBox"><a href="javascript:commentContent()" class="button orange mr10">提 交</a></td>
								</tr>
							</table>
					</div>
				</div>			
			</div>
		</div>
	<jsp:include page="footer.jsp" />
	

    </body>
</html>
